package com.hinotoyk.testsystem.mappers;

import com.hinotoyk.testsystem.entity.SGQuestion;
import com.hinotoyk.testsystem.entity.SGQuestionExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
@Mapper
public interface SGQuestionMapper {
    long countByExample(SGQuestionExample example);

    int deleteByExample(SGQuestionExample example);

    int deleteByPrimaryKey(Integer sgQuestionId);

    int insert(SGQuestion record);

    int insertSelective(SGQuestion record);

    List<SGQuestion> selectByExample(SGQuestionExample example);

    SGQuestion selectByPrimaryKey(Integer sgQuestionId);

    int updateByExampleSelective(@Param("record") SGQuestion record, @Param("example") SGQuestionExample example);

    int updateByExample(@Param("record") SGQuestion record, @Param("example") SGQuestionExample example);

    int updateByPrimaryKeySelective(SGQuestion record);

    int updateByPrimaryKey(SGQuestion record);
}